package com.zhoutian.service.Impl;

import com.zhoutian.dao.DetailMessageDAO;
import com.zhoutian.service.DetailMessageService;
import com.zhoutian.vo.DetailMessageVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class DetailMessageServiceImpl implements DetailMessageService {

    @Autowired
    private DetailMessageDAO detailMessageDAO;

    @Override
    public DetailMessageVO selectById(Integer id) {
        DetailMessageVO detailMessageVO = detailMessageDAO.findById(id);
        return detailMessageVO;
    }
}
